package blogsys.demo.bean;

import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.util.Date;

/**
 * 角色信息
 */
@Alias("RoleInfo")
public class RoleInfo implements Serializable {
    private String roleInfoId;
    private String roleInfoName;
    private Date roleInfoCreateDate;

    public RoleInfo() {
    }

    public RoleInfo(String roleInfoId, String roleInfoName, Date roleInfoCreateDate) {
        this.roleInfoId = roleInfoId;
        this.roleInfoName = roleInfoName;
        this.roleInfoCreateDate = roleInfoCreateDate;
    }

    public String getRoleInfoId() {
        return roleInfoId;
    }

    public void setRoleInfoId(String roleInfoId) {
        this.roleInfoId = roleInfoId;
    }

    public String getRoleInfoName() {
        return roleInfoName;
    }

    public void setRoleInfoName(String roleInfoName) {
        this.roleInfoName = roleInfoName;
    }

    public Date getRoleInfoCreateDate() {
        return roleInfoCreateDate;
    }

    public void setRoleInfoCreateDate(Date roleInfoCreateDate) {
        this.roleInfoCreateDate = roleInfoCreateDate;
    }

    @Override
    public String toString() {
        return "RoleInfo{" +
                "roleInfoId='" + roleInfoId + '\'' +
                ", roleInfoName='" + roleInfoName + '\'' +
                ", roleInfoCreateDate=" + roleInfoCreateDate +
                '}';
    }
}
